
</center>
<input type="hidden" id="sessid" name="sessid" value="{$sessid}" />
<input type="hidden" name="resolutionClient" value="" />
<input type="hidden" name="posLeft" value="" />
<input type="hidden" name="posTop" value="" />
</form>
</body>
<script type="text/javascript">
/* <![CDATA[ */
	var sessid = "{$sessid}";
	//document.main.resolutionClient.value = document.body.clientWidth + "x" + document.body.clientHeight;
	//document.getElementById("divContent").style.height = (document.body.clientHeight - 60) + 'px';
	_getScrollXY({$enableScrollPos});
	if ( '{$posTop}' != '' ) _setPosTop({$posTop});
	
{literal}
	function _setPosTop(pos) 
	{
		//alert('_setPosTop');
		window.scroll(0,pos);
	}	
	function _getScrollXY() 
	{
		//alert('_getScrollXY');
		var scrOfX = 0, scrOfY = 0;
		if( typeof( window.pageYOffset ) == 'number' ) 
		{
			//Netscape compliant
			scrOfY = window.pageYOffset;
			scrOfX = window.pageXOffset;
		} 
		else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) 
		{
			//DOM compliant
			scrOfY = document.body.scrollTop;
			scrOfX = document.body.scrollLeft;
		} 
		else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) 
		{
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollTop;
			scrOfX = document.documentElement.scrollLeft;
		}
		document.main.posLeft.value = scrOfX;
		document.main.posTop.value = scrOfY;
	}
{/literal}
/* ]]> */
</script>
</html>
